<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <style type="text/css">
            .com{
                height: 50px;
                background-image: linear-gradient(#454545,#181818);
            }
            img{
                float: left;
                height: 30px;
                margin: 10px;
            }
            ul{
                float: right;
                margin: 0px;
            }
            ul>li{
                list-style-type: none;
                display: inline-block;
                line-height: 50px;
                margin: 0px;
            }
            li>a{
                padding-left: 15px;
                line-height: 33px;
                height: 33px;
                display: inline-block;
            }
            span{
                color: white;
                line-height: 33px;
                height: 33px;
                display: inline-block;
                padding-right: 15px;
            }
            li>a:hover{
                background-image: url(nav.png);
            }
            li>a:hover span{
                background-image: url(nav.png);
                background-position: right;
            }
        </style>
    </head>
    <body>
        <div class="com">
            <img src="weixin.png" alt="">
            <ul>
                <li><a href=""><span>首页</span></a></li>
                <li><a href=""><span>微信下载</span></a></li>
                <li><a href=""><span>微信支付</span></a></li>
                <li><a href=""><span>公众号</span></a></li>
                <li><a href=""><span>小程序</span></a></li>
                <li><a href=""><span>帮助与反馈</span></a></li>
                <li><a href=""><span>表情开放平台</span></a></li>
            </ul>
        </div>
    </body>
</html>
